package com.itheima.service.impt;

import com.itheima.mapper.DeptMapper;
import com.itheima.pojo.Dept;
import com.itheima.service.Deptservice;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Deptserviceimpl implements Deptservice {

    private DeptMapper deptmapper;
    @Override
    public List<Dept> findAll() {
        return deptmapper.findAll();
    }
}
